package cn.dida.service;

import cn.dida.model.LgsNode;
import cn.dida.model.LgsPdaUser;
import cn.dida.model.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangzhiling on 2017/2/8.
 */
@Service
public interface LgsPdaUserService {

    public Pageable<LgsPdaUser> getList(Integer companyId, String keyword,String realName,String depotName, Integer sta, Integer page);

    public List<LgsNode> getNodeList(Integer companyId, Integer sta);

    public Boolean insert(LgsPdaUser lgsPdaUser);

    public Boolean update(LgsPdaUser lgsPdaUser);

    public LgsPdaUser getPdaUser(Integer id);

    public List<Map<String,Object>> getNodeByUser(Integer userId);

    public Boolean testAccount(String account);

    public List<LgsPdaUser> queryForExport(Integer companyId, String keyword, String realName, String depotName, Integer sta);

}
